package OrientProject;

public class CircleTest {
    public static void main(String[] args) {
        Circle c1 = new Circle();
        c1.redius = 5;
        System.out.println(c1.findArea());
    }
}

class Circle {

    //属性
    double redius;

    //求圆的面积

    public double findArea() {
        double area;
        area = Math.PI * Math.pow(redius,2);
        return area;
    }
}
